package com.xhs.zdl.demo.citypickerview;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;

import com.xhs.zdl.demo.MyUtils;
import com.xhs.zdl.demo.R;

import java.util.List;
import java.util.Map;

public class Address1Activity extends AppCompatActivity {

    private ListView listView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_address1);

        initView();
    }

    private void initView() {
        listView = (ListView) findViewById(R.id.Address1_listview);

        Bundle bundle = getIntent().getExtras();
        SerMap bundleSerializable = (SerMap) bundle.getSerializable("data");
        Map<String, Map<String, List<String>>> data = bundleSerializable.getMap();
        MyUtils.Log(data.toString());
        MyUtils.Log(data.get("鑫豪斯大楼1").toString());
    }
}
